<html>
<head>
    <meta charset="utf-8">
    <title>会员卡</title>
    {php include $this->template($this->cur_tpl.'/_common_meta');}
    <link rel="stylesheet" type="text/css" href="{RES}mobile/{php echo $this->cur_tpl}/css/main.css" media="all">
    <link rel="stylesheet" type="text/css" href="{RES}mobile/{php echo $this->cur_tpl}/css/dialog.css" media="all">
    <script type="text/javascript" src="{RES}mobile/{php echo $this->cur_tpl}/js/jquery_min.js"></script>
    <script type="text/javascript" src="{RES}mobile/{php echo $this->cur_tpl}/js/main.js"></script>
    <style>
        .tbox_page {
            width: 100%;
        }
        .tbox_page > * {
            height: 100%;
            display: table-cell;
            vertical-align: top;
        }
        .tbox_page > *:last-child {
            width: 100%;
        }
    </style>
</head>
<body onselectstart="return true;" ondragstart="return false;" style="">
<div class="container addr">
    <div class="body">
        <ul class="list_ul list_addr">
            {php $first=true;}
            {loop $stores $item}
            {if $first==true}
            <ol>
                <li class="li_b header tbox_page">
                    <dd>
                        <i>&nbsp;</i>
                    </dd>
                    <dd>
                        <label class="label">适用门店</label>
                    </dd>
                </li>
                <div>
                    <li class="li_name tbox_page">
                        <dd class="pl_10">
                        </dd>
                        <dd>
                            <label class="label">{$item['title']}</label>
                        </dd>
                    </li>
                    <li class="li_add tbox_page">
                        <dd>
                            <i>&nbsp;</i>
                        </dd>
                        <dd>
                            <a href="http://api.map.baidu.com/marker?location={$item['lat']},{$item['lng']}&title={$item['place']}&name={$item['place']}&content={$item['place']}&output=html&src=weiba|weiweb"><label class="label">地址：{$item['address']}</label>
                            </a>
                        </dd>
                    </li>
                    <li class="li_tel tbox_page">
                        <dd>
                            <i>&nbsp;</i>
                        </dd>
                        <dd>
                            <a class="label" href="tel:{$item['tel']}">电话：{$item['tel']}</a>
                        </dd>
                    </li>
                </div>
            </ol>
            {php $first=false;}
            {else}
            <div>
                <li class="li_name tbox_page">
                    <dd class="pl_10">
                    </dd>
                    <dd>
                        <label class="label">{$item['title']}</label>
                    </dd>
                </li>
                <li class="li_add tbox_page">
                    <dd>
                        <i>&nbsp;</i>
                    </dd>
                    <dd>
                        <a href="http://api.map.baidu.com/marker?location={$item['lat']},{$item['lng']}&title={$item['place']}&name={$item['place']}&content={$item['place']}&output=html&src=weiba|weiweb"><label
  class="label">地址：{$item['address']}</label></a>
                    </dd>
                </li>
                <li class="li_tel tbox_page">
                    <dd>
                        <i>&nbsp;</i>
                    </dd>
                    <dd>
                        <a class="label" href="tel:{$item['tel']}">电话：{$item['tel']}</a>
                    </dd>
                </li>
            </div>
            {/if}
            {/loop}
        </ul>
    </div>
    {if !empty($card)}
    {php include $this->template($this->cur_tpl.'/_footer');}
    {/if}
</div>
</body>
</html>